<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/jsp/admintop.jsp" %>
<jsp:directive.page import="com.lg.system.CTurnPage" />
<%@ include file="/jsp/jscommom.jsp"%>

<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>修改职位信息</title>
		<link href="/css/login.css" rel="stylesheet" type="text/css" />
	</head>
	<script type="text/javascript">
	function domethod(){
	    document.forms[0].submit();  
	}
	function editActivity(url){
	
	}
	function goto(url){
	window.open(url,"_blank");
	}
	</script>
	<%
		CTurnPage mPage = new CTurnPage();
		mPage = (CTurnPage) request.getAttribute("page");
	%>
	<body>
		<html:form action="/system/admin/copormanage/viewbooth" method="post">
			<html:hidden property="method" />
			<div align="center">
				<table width="97%" border="0" align="center" cellpadding="0"
				cellspacing="1" class="line1">
					<tr>
						<td class="titlebg" colspan="4">
							展位管理
						</td>
					</tr>
					<tr>
						<td class="mtdtitle1">
							现场招聘日期:
						</td>
						<td class="mtdtextleft">
							<html:text property="showDate" onclick="datepopup(this)" styleClass="input1"></html:text>
						</td>
						
						<td class="mtdtitle1">
							展位编号:
						</td>
						<td colspan="3" class="mtdtextleft">
							<html:text property="boothNo" styleClass="input1"></html:text>
						</td>
					</tr>

					<tr>
						<td class="mtdtitle1">
							企业名称:
						</td>
						<td class="mtdtextleft">
							<html:text property="corporName" styleClass="input1"></html:text>
						</td>

						<td class="mtdtitle1">
							企业编号:
						</td>
						<td class="mtdtextleft">
							<html:text property="corporId" styleClass="input1"></html:text>
						</td>
					</tr>
					<tr>
						<td class="mtdtitle1" colspan="4">
							<input value="查询" type="button" onclick="domethod()"
								class="tbutton" />
							<input value="重置" type="reset"
								class="tbutton" />
								<input value="展位地图" type="reset"
								class="tbutton"  onclick="goto('/com/struts/web/news/viewnews.do?ID=200907051318271000')"/>
						</td>
					</tr>

					<tr>
						<td class="mtdtitle1" colspan="4">
							<table width="100%" border="0" align="center" cellpadding="0"
				cellspacing="1">
								<tr>
									<td class="titlebg" colspan="6">
										展位浏览
									</td>
								</tr>

								<tr>
									<td class="mtdtitle1">
										展位号
									</td >
									<td class="mtdtitle1">
										活动日期
									</td>
									<td class="mtdtitle1">
										活动时间
									</td>
									<td class="mtdtitle1">
									状态
									</td>
									<td class="mtdtitle1">
										企业名称
									</td>
									<td class="mtdtitle1">
										企业编号
									</td>
								</tr>
								<logic:empty name="page" property="sqlList">
									<tr>
										<td align="center" colspan="6">
											没有可显示的内容！
											<br>
										</td>
									</tr>
								</logic:empty>
								<logic:notEmpty name="page" property="sqlList">
									<logic:iterate type="com.ibatis.po.corpor.TBooth"
										id="boothList" name="page" property="sqlList">
										<tr style="cursor:hand"
											onclick="editActivity('/system/admin/copormanage/editboothstatus.do?ID=<bean:write name='boothList' property='id'/>')">
											<td class="mtdtextcenterwrite">
												${boothList.boothNo}
											</td>
											<td class="mtdtextcenterwrite">
												<bean:write name="boothList" property="showDate"
													format="yyyy-MM-dd" />
											</td>
											<td class="mtdtextcenterwrite">
												<logic:equal value="1" name="boothList" property="timeType">上午</logic:equal>
												<logic:equal value="2" name="boothList" property="timeType">下午</logic:equal>
											</td>
											<td class="mtdtextcenterwrite">
												<logic:equal value="0" name="boothList" property="status">--</logic:equal>
												<logic:equal value="1" name="boothList" property="status">*</logic:equal>
											</td>
											<td class="mtdtextcenterwrite">
												${boothList.corporName}
											</td>
											<td class="mtdtextcenterwrite">
												${boothList.corporId}
											</td>
										</tr>
									</logic:iterate>
								</logic:notEmpty>
								<tr>
									<td colspan="6" class="mtdtitle1">
										<table width='100%'>
											<tr>
												<td class="left">
													<%=mPage.getPageInfo()%>
												</td>
												<td class="right">
													<%=mPage.getTurnPageLink()%>
												</td>
											</tr>
										</table>
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
			</div>
		</html:form>

	</body>
</html>
